package com.jinzhi.jzweb.service.moduleConfig;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.domain.moduleConfig.TrackDrawDO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 
 * <pre>
 * 赛道抽签表（存储抽签信息）
 * </pre>
 * <small> 2024-02-28 09:32:18 | lance</small>
 */
public interface TrackDrawService extends CoreService<TrackDrawDO> {

    Result<Page<TrackDrawDO>> trackDrawList(TrackDrawDO trackDrawDTO);

    Page<TrackDrawDO> trackList(TrackDrawDO trackDrawDTO);

    /**
     * 分页查询团队选手信息
     * @param current
     * @param size
     * @return
     */
    Result getTrack(Integer current,Integer size);


    /**
     * 开始抽签
     * @param current
     * @param size
     * @return
     */
    Result trackDraw1(Integer current, Integer size);


    /**
     * 开始抽签  上饶抽签
     * @param current
     * @param size
     * @return
     */
    Result trackDraw(Integer current, Integer size);

    /**
     * 抽签信息导出
     * @param response
     * @param current
     * @param size
     */
    void downloadImportTrackDraw(HttpServletResponse response, Integer current, Integer size);

}
